package com.swh.user.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * 用户实体
 *
 * @author sangwenhao
 * @date 2016年3月22日
 */
@SuppressWarnings("ALL")
public class UserEntity implements Serializable {

    /**
     * @author sangwenhao-桑文豪
     * @date 2016年2月18日 下午10:11:51
     */
    private static final long serialVersionUID = 7363970159380682497L;

    // 主键
    private String uuid = UUID.randomUUID().toString();
    // 用户名
    private String userName;
    // 真实名称
    private String realName;
    // 密码
    private String password;
    // 性别
    private String gender;
    // 电话
    private String phoneNumber;
    // 邮箱地址
    private String email;
    // 角色ID
    private String roleUUID;
    // 创建时间
    private Date createTime;
    // 更新时间
    private Date modifyTime;
    //    private Date autoUpdateTime;// 数据库自动更新时间
    // 是否有效
    private String active;
    // 描述
    private String description;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRoleUUID() {
        return roleUUID;
    }

    public void setRoleUUID(String roleUUID) {
        this.roleUUID = roleUUID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
